<%@ page import="student_system.bean.dep" %><%--
  Created by IntelliJ IDEA.
  User: 李逸龙
  Date: 2022/5/21
  Time: 14:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/depalter2" method="post">
    <table>
        <%
            dep s=(dep)request.getAttribute("deplists");
            System.out.println(s);
        %>
        <%=s.getDno()%>
        <tr>
            <td>系号</td>
            <td><input type="text" name="dno" value="<%=s.getDno()%>"></td>
        </tr>
        <tr>
            <td>系名</td>
            <td><input type="text" name="dname" value="<%=s.getDname()%>"></td>
        </tr>
        <tr>
            <td>号</td>
            <td><input type="text" name="tel" value="<%=s.getTel()%>"></td>
        </tr>


        <tr><td colspan="2">
            <button type="submit" >提交</button>
        </td> </tr>
    </table>
</form>
</body>
</html>
